import Mock from "mockjs";



Mock.mock("/list", {
    "list|15": [
        { 
            "id": "@id",
             "name":"@cword(2,4)",
             "img":"@image(80X110,@color)"
        }
    ]
})


Mock.mock("/classList",{
    "list|15":[
        {
            "id":"@id",
             "title":"@cword(4)",
             "children|20":[
                 {
                    "name":"@cword(2)",
                    "img":"@image(60X60,@color)",
                    "id":"@id"
                 }
             ]
        }
    ]
})

